package com.cqjtu.graduation.service.impl;

import com.cqjtu.graduation.dao.RoleDAO;
import com.cqjtu.graduation.entity.RoleDO;
import com.cqjtu.graduation.service.RoleDOService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleDOServiceImpl implements RoleDOService {
    @Autowired
    private RoleDAO roleDAO;
    @Override
    public List<RoleDO> getAllRole(RoleDO roleDO) {
        return roleDAO.listRole(roleDO);
    }
}
